package demo.dubbo;

import java.util.Arrays;

import org.apache.coyote.http11.Http11NioProtocol;
import org.apache.tomcat.util.net.NioSelectorPool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer;
import org.springframework.boot.context.event.EventPublishingRunListener;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.DefaultLifecycleProcessor;

import com.alibaba.boot.dubbo.actuate.endpoint.mvc.DubboMvcEndpoint;
import com.alibaba.dubbo.config.AbstractConfig;
import com.alibaba.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor;
import com.alibaba.dubbo.qos.server.Server;
import com.alibaba.dubbo.registry.support.AbstractRegistryFactory;
import com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry;
import com.alibaba.dubbo.remoting.transport.AbstractServer;
import com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol;

@SpringBootApplication
public class DubboBootApp {

    private static Logger logger = LoggerFactory.getLogger(DubboBootApp.class);

    public static void main(String[] args) {
        ReferenceAnnotationBeanPostProcessor a = null;
        DefaultLifecycleProcessor b = null;
        AbstractRegistryFactory c = null;
        ZookeeperRegistry d = null;
        DubboProtocol e = null;
        DubboMvcEndpoint f = null;
        AbstractConfig h = null;
        Server i = null;
        AbstractServer j = null;
        Http11NioProtocol k = null;
        NioSelectorPool l = null;
        TomcatEmbeddedServletContainer m = null;
        
        EventPublishingRunListener n = null;
        
        AbstractApplicationContext z = null;
        logger.info("突破");
        ConfigurableApplicationContext context = SpringApplication.run(DubboBootApp.class, args);
        logger.info("=============================STARTE OK=============================");
        String param = Arrays.toString(args);
        logger.info("入参：{}", param);
    }

}
